//
// Created by Administrator on 2021/11/16.
// 将文件分为空白符分割的单词

#include <iostream>
#include <fstream>
#include <string>
#include <vector>

using namespace std;

int main()
{
    vector<string> v;
    string word;
    ifstream in("GetWords.cpp");
    while(in >> word)
    {
        v.push_back(word);
    }
    for(int i = 0; i < v.size(); ++i)
    {
        cout << v[i] << endl;
    }
}

